import React from 'react'
import Count from './components/Count'
export default class App extends React.Component {
  state = {
    xxx: 'xxx',
    yyy: 'yyy',
    zzz: 'zzz',
    str: '123',
    arr: ['a', 'b'],
  }
  render() {
    return (
      <div id="app">
        根组件
        <hr />
        {/* 批量传递: 批量传递某个对象里面的数据 */}
        <Count {...this.state}></Count>
        <hr />
      </div>
    )
  }
}
